package org.leiyang.common.etcd;

import com.ibm.etcd.client.EtcdClient;

public class MyEtcdBuilder {
    /**
     * @param endPoints 如https://127.0.0.1:2379 有多个时逗号分隔
     */
    public static MyEtcdClient build(String endPoints) {
        return new MyEtcdClient(EtcdClient.forEndpoints(endPoints).withPlainText().build());
    }
}
